﻿using GameConfig.item;
using TEngine;
using UnityEngine;

namespace GameLogic
{
    [EventInterface(EEventGroup.GroupUI)]
    public interface ILoginUI
    {
        void ShowLoginUI();

        void CloseLoginUI();

        void InstantiateItemInScene(int itemID,Vector3 pos);

        void PlayerBagChange();

        void SelectSlotUI(int data);

        void OnDayChange();

        void OnSeasonChange();

        void OnTimerChange();

        /// <summary>
        /// 每日凌晨白天黄昏夜晚占比刷新
        /// </summary>
        void OnDayPhaseChange();

        void OnItemSelectedEvent(ItemTb itemDetails, bool isSelected);

        void AfterSceneLoadedEvent();

        void ExecuteActionAfterAnimation(Vector3 mouseWorldPos, ItemTb itemDetails);

        void CallMouseClickedEvent(Vector3 pos, ItemTb itemDetails);

        void CallPlantSeedEvent(int seedItemID,TileDetails tileDetails);

        void CallDecreaseWetnessEvent();

        void CallDecreaseFertilityEvent();
    }
}